#pragma once

class ITask
{
public:
	ITask() : m_canKill(false), m_priority(5000) {};
	virtual ~ITask(){};
	virtual bool Start() = 0;
	virtual void OnSuspend() {};
	virtual void Update() = 0;
	virtual void OnResume() {};
	virtual void Stop() = 0;

	bool m_canKill;
	int m_priority;
};